package com.shuziren.entity.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;


@Data
public class PromptDTO {
    @NotBlank(message = "对话内容不能为空")
    private String prompt;
    @Size(min = 10, max = 10,message = "对话ID长度必须为10位")
    private String chatId;
}
